package com.zzw.testdemo01.screen;

import com.mojang.blaze3d.matrix.MatrixStack;
import com.zzw.testdemo01.container.CustomContainerOne;
import net.minecraft.client.gui.IGuiEventListener;
import net.minecraft.client.gui.screen.inventory.ContainerScreen;
import net.minecraft.entity.player.PlayerInventory;
import net.minecraft.util.text.ITextComponent;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;

import javax.annotation.Nullable;
import java.util.Optional;

@OnlyIn(Dist.CLIENT)
public class CustomScreenOne extends ContainerScreen<CustomContainerOne> {


    public CustomScreenOne(CustomContainerOne p_i51105_1_, PlayerInventory p_i51105_2_, ITextComponent p_i51105_3_) {
        super(p_i51105_1_, p_i51105_2_, p_i51105_3_);
    }

    @Override
    protected void renderBg(MatrixStack p_230450_1_, float p_230450_2_, int p_230450_3_, int p_230450_4_) {

    }

    @Override
    public Optional<IGuiEventListener> getChildAt(double p_212930_1_, double p_212930_3_) {
        return super.getChildAt(p_212930_1_, p_212930_3_);
    }

    @Override
    public void mouseMoved(double p_212927_1_, double p_212927_3_) {
        super.mouseMoved(p_212927_1_, p_212927_3_);
    }

    @Override
    public boolean mouseScrolled(double p_231043_1_, double p_231043_3_, double p_231043_5_) {
        return super.mouseScrolled(p_231043_1_, p_231043_3_, p_231043_5_);
    }

    @Override
    public boolean keyReleased(int p_223281_1_, int p_223281_2_, int p_223281_3_) {
        return super.keyReleased(p_223281_1_, p_223281_2_, p_223281_3_);
    }

    @Override
    public boolean charTyped(char p_231042_1_, int p_231042_2_) {
        return super.charTyped(p_231042_1_, p_231042_2_);
    }

    @Override
    public void setInitialFocus(@Nullable IGuiEventListener p_212928_1_) {
        super.setInitialFocus(p_212928_1_);
    }

    @Override
    public void magicalSpecialHackyFocus(@Nullable IGuiEventListener p_212932_1_) {
        super.magicalSpecialHackyFocus(p_212932_1_);
    }

    @Override
    public boolean changeFocus(boolean p_231049_1_) {
        return super.changeFocus(p_231049_1_);
    }
}
